Perl By Example  README


NOTE 1:
Correction to Example 4.21 on page 45.
Lines 3 and 4 should read as follows:
3  $days{'Wed'}="Wednesday";
4  $days{5}="Friday";

NOTE 2:
Correction to Example 8.3 on page 159.
Line 1 from Script should read as follows:
1  open(MYHANDLE, "/etc/password") || die "Can't open: $!\n";

NOTE 3:
Correction to 8.1.4 open for Writing on page 161.
Format should read as follows:
1  open(FILEHANDLE, ">FILENAME");

NOTE 4:
Correction to Example 8.24 on page 180.
Line 1 should read as follows:
1  open ( DB, "emp.names") || die "Can't open emp.names: $!";

NOTE 5:
Correction to Example 9.3 on page 191.
Lines 8 through 9 of the Script should be renumbered as follows:
8    ¶ms(@n);
9    print "Back in main\n";
10  print "The new values are @n\n";

NOTE 6:
Correction to Example 9.11 on page 202.
Line 5 should read as follows:
5  print "The arguments passed were $args.\n";



Perl Training CourseReturn to main page